package com.haiyou.dc.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * http://localhost:8761/dc-eureka/swagger-ui.html
 * http://localhost:8761/dc-eureka/
 */
@EnableEurekaServer
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"com.haiyou.dc.eureka", "com.haiyou.common"})
public class DcEurekaApplication {
    public static void main(String[] args) {
        SpringApplication.run(DcEurekaApplication.class, args);
    }
}
